package com.liu.communitysystemend.module.complaints.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liu.communitysystemend.module.complaints.domain.Complaints;
import com.liu.communitysystemend.module.complaints.domain.ComplaintsDto;
import com.liu.communitysystemend.utils.Result;

/**
*
*/
public interface ComplaintsService {

    Complaints getComplaintsById(String id);

    Complaints update(Complaints complaints);

    Complaints add(Complaints complaints);

    Integer deleteById(String id);

    Page<Complaints> getPage(Complaints complaints);

    Integer test();

    Page<ComplaintsDto> getAllPage(Complaints complaints);
}
